<!doctype html>
<html>
<head>

<meta charset="utf-8">
<title>新闻资讯</title>
<link href="css/base.css" rel="stylesheet" type="text/css">
<link href="css/left.css" rel="stylesheet" type="text/css">
<link href="css/news.css" rel="stylesheet" type="text/css">
</head>
<script type="text/javascript" src="js/jquery-1.3.2.js"></script>
<script type="text/javascript">
$(function(){
	$(".subNav").click(function(){
		$(this).toggleClass("currentDd").siblings(".subNav").removeClass("currentDd");

		$(this).toggleClass("currentDt").siblings(".subNav").removeClass("currentDt");
		$(this).next(".navContent").slideToggle(300).siblings(".navContent").slideUp(500);
	})	
})
</script>

<body>
<?php
require ('head.php');
?>

<div class="container">


<!--内容-->


<div class="content">
  <div class="content_top"><img src="images/new1.jpg" width="1125" height="238"></div>
  
  <div class="weizhi">
  <li> 首页&nbsp;>&nbsp;</li><li> 新闻资讯&nbsp;>&nbsp;</li><li class="aa">公司新闻</li>
  </div>
  
<div class="left">
  <div class="subNavBox">
      <?php
      foreach($xws as $row)
        {
      ?>
      <a href="news_index.php?id=<?php echo $row['id'] ?>"><div class="subNav yuxuan"><?php echo $row["typename"]; ?></div>
    <ul class="navContent" >

    </ul></a>
    <?php
    }
    ?>

	
  </div>

<div class="right ">
<p class="gsxw">公司新闻</p>
<?php
        foreach($abcs as $abc)
        {
        ?>
<a href="news details_index.php?id=<?php echo $abc['id']  ?> "><div class="new"><B><</B>&nbsp;&nbsp;<?php echo "【".$abc['typename']."】&nbsp;&nbsp;",my_substr($abc['title'],100); ?><p class="new2"><?php echo $abc['pubdate'] ?></p></div></a>

<?php
        }
?>
<!--新闻下面-->
        <!--右下-->
      	<div class="right_footer">
   			<a href="#"><span>首页</span></a>
            <a href="#"><span class="righr_f_number">1</span></a>
            <a href="#"><span class="righr_f_number">2</span></a>
            <a href="#"><span class="righr_f_number">3</span></a>
            <a href="#"><span>尾页</span></a>
            <form action="" method="get">
            	跳转到 <input class="righr_f_number1" name="" type="text" value="   1"> 页
            </form>
        
        </div>
        <!--右下-->
</div>
</div>
</div>

</div>




<?php
require ('tail.php');
?>
</body>
</html>
